var loggingDivPresent = true;
function log(message) {
	if (this.loggingDivPresent) {
		try {
			var element = document.getElementById("debugDiv");
			if (element == null) 
				loggingDivPresent = false;
			element.innerHTML = element.innerHTML + '<div style="position:relative; top:2px; left:0px; width:90%;background-color:#dddda0; text-align:left; padding:3px;border: solid 0px #339999;z-index:0;"><font class="subFont">' + message + '</font></div>';
		} catch (e) {
		}
	}
}
